IfSo\Services\LicenseService\LicenseService C

Total Complexity 107
Dependencies 3
Dependents 6
Total lines 538
Lines of code 401
Logical lines of code 243
Comment lines 99
Methods 23
Properties 6

Methods 23

Method Rating Maintainability Complexity Lines of code
edd_ifso_is_license_valid()
B
39 17 66
edd_api_get_error_message()
A
44 15 46
edd_ifso_activate_license()
A
44 11 39
edd_ifso_deactivate_license()
A
46 8 37
edd_ifso_clear_license()
S
53 7 22
edd_api_deactivate_item()
S
56 7 19
try_to_activate_license()
S
56 6 19
check_license_request()
S
56 6 19
query_ifso_api()
S
52 5 25
edd_sl_ifso_plugin_updater()
S
57 4 16
is_item_id_invalid_or_mismatch()
S
69 4 6
send_check_license_request()
S
60 2 13
init_plans()
S
55 1 24
edd_ifso_if_license_valid_from_license_data()
S
70 2 7
edd_ifso_is_license_inactive()
S
70 2 7
is_license_valid()
S
74 2 4
get_instance()
S
73 2 5
__construct()
S
70 1 6
handle_invalid_license()
S
66 1 9
activate_license()
S
79 1 3
deactivate_license_request()
S
79 1 3
edd_api_activate_item()
S
79 1 3
get_license()
S
80 1 3